package com.muyan.design.singleton;

public class SingletonC {

    private static SingletonC instance;

    static {
        instance = new SingletonC();
    }

    private SingletonC() {
    }

    public static SingletonC getInstance() {
        return instance;
    }

    public Object readResolve() {
        return instance;
    }
}
